package com.example.xd.commen.jump;

/**
 * @auther XuDan on 2019/4/12.
 */
public class ServiceFactory {
    private IVideoService mIVideoService;
    private INetService mINetService;
    private ICacheService mICacheService;

    private ServiceFactory() {
    }

    private static ServiceFactory serviceFactory = new ServiceFactory();

    public static ServiceFactory getServiceFactory() {
        return serviceFactory;
    }


    public IVideoService getILoginService() {
        return mIVideoService;
    }

    public void setILoginSErvice(IVideoService videoService) {
        this.mIVideoService = videoService;
    }

    public INetService getINetService() {
        return mINetService;
    }

    public void setINetService(INetService INetService) { mINetService = INetService; }

    public ICacheService getICacheService() {
        return mICacheService;
    }

    public void setICacheService(ICacheService ICacheService) {
        mICacheService = ICacheService;
    }
}
